home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / unix / textmstr.shr / tm.hqx / Source Code ƒ / RM_P_TextMaster.R < prev    next >
Text File  |  1991-05-09  |  9KB  |  299 lines

  1. *********************************************************
  2. *
  3. * RMaker resource file sources.
  4. * File: RM_P_TextMaster.R
  5. * History: 5/9/91 Original by Prototyper  3.0
  6. * This file contains the sources for all the resources except for Pictures, plugins. 
  7. *
  8. *********************************************************
  9. *
  10. *
  11.  
  12. * Name and type for the output file (This is appended to the existing file) :
  13. !TextMaster.╣.RSRC
  14.  
  15. * Include Prototyper Resource data file
  16. INCLUDE P_TextMaster.RSRC
  17.  
  18. * Include the user Resource data file
  19. INCLUDE U_TextMaster.RSRC
  20.  
  21. *
  22. *
  23. *
  24. ***********************************************************
  25. ***********************************************************
  26. ***********************************************************
  27. *
  28. * This is the definition for the DIALOG,  About_Dialog
  29. *
  30.  
  31. Type DLOG
  32. *
  33.  
  34.     ,256                    ;;Resource ID
  35. About_Dialog             ;;Dialog title
  36. 33  21  327  489        ;;Top Left Bottom Right
  37. Invisible NoGoAway     ;;Invisible GoAway 
  38. 1                           ;;ProcID, dialog def ID
  39. 256                        ;;Refcon, reference value
  40. 256                        ;;ID of item list
  41.  
  42. *
  43. *
  44. *
  45. * This is the item list.
  46. *
  47. Type DITL
  48. *
  49.  
  50.     ,256                    ;;Resource ID
  51. 4                           ;;Number of controls in list
  52.  
  53. Button  Enabled           ;;Push button
  54. 265  395  285  455         ;;Top Left Bottom Right
  55. OK                         ;;message
  56.  
  57. staticText  Disabled         ;;Static text
  58. 15  10  45  185         ;;Top Left Bottom Right
  59. TextMaster¬ 1.4\0DBy Donald Burr -- ⌐1991;;message
  60.  
  61. staticText  Disabled         ;;Static text
  62. 65  10  115  400        ;;Top Left Bottom Right
  63. A program to convert between UNIX newlines and Macintosh end-of-line characters.  Works on text files only!!;;message
  64.  
  65. staticText  Disabled         ;;Static text
  66. 120  10  215  445      ;;Top Left Bottom Right
  67. Please send all comments, questions, bug reports, etc. to one of the following:\0DINTERNET: dburr@ocf.berkeley.edu, 72540.3071@compuserve.COM\0DCOMPU$ERVE: 72540,3071\0DAMERICA ONLINE: DonaldBurr\0D;;message
  68.  
  69.  
  70.  
  71.  
  72. *
  73. Type STR#
  74. *
  75.  
  76. Title_msg   ,259         ;;Resource ID for Static text
  77. 1                           ;;Number of strings
  78. TextMaster¬ 1.4
  79. By Donald Burr -- ⌐1991;;The string
  80.  
  81. description_str   ,260      ;;Resource ID for Static text
  82. 1                           ;;Number of strings
  83. A program to convert between UNIX newlines and Macintosh end-of-line characters.  Works on text files only!!;;The string
  84.  
  85. send_request   ,261         ;;Resource ID for Static text
  86. 1                           ;;Number of strings
  87. Please send all comments, questions, bug reports, etc. to one of the following:
  88. INTERNET: dburr@ocf.berkeley.edu, 72540.3071@compuserve.COM
  89. COMPU$ERVE: 72540,3071
  90. AMERICA ONLINE: DonaldBurr
  91. ;;The string
  92.  
  93. legalese1   ,262         ;;Resource ID for Static text
  94. 1                           ;;Number of strings
  95. This software donated to the Public Domain.  Permission is hereby granted to freely copy and distribute, so long as no fee is charged for such distribution.;;The string
  96.  
  97. legalese2   ,263         ;;Resource ID for Static text
  98. 1                           ;;Number of strings
  99. Permission is also granted to freely modify and distribute this code, so long as: (a) It is made clear in the program and documentation that this is NOT an original distribution, and (b) My name and copyright is NOT be removed.;;The string
  100.  
  101. *
  102. ***********************************************************
  103. ***********************************************************
  104. ***********************************************************
  105. *
  106. * This is the definition for the DIALOG,  Help_window
  107. *
  108.  
  109. Type DLOG
  110. *
  111.  
  112.     ,257                    ;;Resource ID
  113. Help_window             ;;Dialog title
  114. 66  45  276  462        ;;Top Left Bottom Right
  115. Invisible NoGoAway     ;;Invisible GoAway 
  116. 1                           ;;ProcID, dialog def ID
  117. 257                        ;;Refcon, reference value
  118. 257                        ;;ID of item list
  119.  
  120. *
  121. *
  122. *
  123. * This is the item list.
  124. *
  125. Type DITL
  126. *
  127.  
  128.     ,257                    ;;Resource ID
  129. 5                           ;;Number of controls in list
  130.  
  131. Button  Enabled           ;;Push button
  132. 180  245  200  325         ;;Top Left Bottom Right
  133. More                       ;;message
  134.  
  135. Button  Enabled           ;;Push button
  136. 180  335  200  395         ;;Top Left Bottom Right
  137. OK                         ;;message
  138.  
  139. staticText  Disabled         ;;Static text
  140. 10  10  45  405         ;;Top Left Bottom Right
  141. There are TWO menu selections available in the FILE menu: "Macintosh -> UNIX", and "UNIX -> Macintosh.";;message
  142.  
  143. staticText  Disabled         ;;Static text
  144. 55  10  95  385         ;;Top Left Bottom Right
  145. You should select the menu choice that signifies the direction you want to convert files in.;;message
  146.  
  147. staticText  Disabled         ;;Static text
  148. 100  10  170  395      ;;Top Left Bottom Right
  149. Let's say you want to convert a Mac file to UNIX format.  You would choose "Macintosh -> UNIX".  At this point, a file selection dialog will appear.  Pick the name of the text file you wish to convert, and click "OK.";;message
  150.  
  151.  
  152.  
  153.  
  154. *
  155. Type STR#
  156. *
  157.  
  158. Help1   ,276              ;;Resource ID for Static text
  159. 1                           ;;Number of strings
  160. There are TWO menu selections available in the FILE menu: "Macintosh -> UNIX", and "UNIX -> Macintosh.";;The string
  161.  
  162. Help2   ,277              ;;Resource ID for Static text
  163. 1                           ;;Number of strings
  164. You should select the menu choice that signifies the direction you want to convert files in.;;The string
  165.  
  166. Help3   ,278              ;;Resource ID for Static text
  167. 1                           ;;Number of strings
  168. Let's say you want to convert a Mac file to UNIX format.  You would choose "Macintosh -> UNIX".  At this point, a file selection dialog will appear.  Pick the name of the text file you wish to convert, and click "OK.";;The string
  169.  
  170. *
  171. ***********************************************************
  172. ***********************************************************
  173. ***********************************************************
  174. *
  175. * This is the definition for the DIALOG,  Help_window_2
  176. *
  177.  
  178. Type DLOG
  179. *
  180.  
  181.     ,258                    ;;Resource ID
  182. Help_window_2          ;;Dialog title
  183. 48  33  318  477        ;;Top Left Bottom Right
  184. Invisible NoGoAway     ;;Invisible GoAway 
  185. 1                           ;;ProcID, dialog def ID
  186. 258                        ;;Refcon, reference value
  187. 258                        ;;ID of item list
  188.  
  189. *
  190. *
  191. *
  192. * This is the item list.
  193. *
  194. Type DITL
  195. *
  196.  
  197.     ,258                    ;;Resource ID
  198. 7                           ;;Number of controls in list
  199.  
  200. Button  Enabled           ;;Push button
  201. 240  370  260  430         ;;Top Left Bottom Right
  202. OK                         ;;message
  203.  
  204. Button  Enabled           ;;Push button
  205. 241  290  261  355         ;;Top Left Bottom Right
  206. Previous                  ;;message
  207.  
  208. staticText  Disabled         ;;Static text
  209. 15  10  30  205         ;;Top Left Bottom Right
  210. Identifying Types of Text      ;;message
  211.  
  212. staticText  Disabled         ;;Static text
  213. 45  10  80  400         ;;Top Left Bottom Right
  214. If your text looks normal like this, you have\0Da Macintosh text file.;;message
  215.  
  216. staticText  Disabled         ;;Static text
  217. 90  10  106  320        ;;Top Left Bottom Right
  218. If your textΩis all on one lineΩlikeΩthisΩ;;message
  219.  
  220. staticText  Disabled         ;;Static text
  221. 105  10  155  425      ;;Top Left Bottom Right
  222. and has funny box-like characters or control characters in between words, where line breaks should be, then you have a UNIX text file.;;message
  223.  
  224. staticText  Disabled         ;;Static text
  225. 170  10  230  410      ;;Top Left Bottom Right
  226. The next release of TextMaster, v1.5, will also support IBM text files, where there is a linefeed character before every line.;;message
  227.  
  228.  
  229.  
  230.  
  231. *
  232. Type STR#
  233. *
  234.  
  235. Help4   ,282              ;;Resource ID for Static text
  236. 1                           ;;Number of strings
  237. Identifying Types of Text      ;;The string
  238.  
  239. help5   ,285              ;;Resource ID for Static text
  240. 1                           ;;Number of strings
  241. If your text looks normal like this, you have
  242. a Macintosh text file.;;The string
  243.  
  244. help6   ,286              ;;Resource ID for Static text
  245. 1                           ;;Number of strings
  246. If your textΩis all on one lineΩlikeΩthisΩ;;The string
  247.  
  248. help7   ,287              ;;Resource ID for Static text
  249. 1                           ;;Number of strings
  250. and has funny box-like characters or control characters in between words, where line breaks should be, then you have a UNIX text file.;;The string
  251.  
  252. morehelp   ,294         ;;Resource ID for Static text
  253. 1                           ;;Number of strings
  254. The next release of TextMaster, v1.5, will also support IBM text files, where there is a linefeed character before every line.;;The string
  255.  
  256.  
  257. *
  258. ***********************************************************
  259. ***********************************************************
  260. ***********************************************************
  261. *
  262. * This is the definition for the MENU.
  263. *
  264. Type MENU
  265. *
  266.  
  267. *************** Standard Menus follow *********************
  268. *
  269.  
  270.  
  271.     ,256                                                                      ;;Resource ID
  272. \14                                                                            ;;APPLE menu title
  273. About TextMaster¬...                                                      ;;item title
  274. (-                                                                              ;;
  275.  
  276.     File,257                                                                    ;;Resource ID
  277. File                                                                             ;;menu title
  278. UNIX -> Macintosh...                                                         ;;item title
  279. Macintosh -> UNIX...                                                         ;;item title
  280. (-                                                                              ;;
  281. Help.../H                                                                      ;;item title
  282. (-                                                                              ;;
  283. Quit/Q                                                                         ;;item title
  284.  
  285.     Edit,258                                                                   ;;Resource ID
  286. Edit                                                                             ;;menu title
  287. Undo/Z                                                                         ;;item title
  288. (-                                                                              ;;
  289. Cut/X                                                                         ;;item title
  290. Copy/C                                                                        ;;item title
  291. Paste/V                                                                       ;;item title
  292. Clear                                                                          ;;item title
  293. Select All                                                                     ;;item title
  294. (-                                                                              ;;
  295. Show Clipboard                                                              ;;item title
  296.  
  297.  
  298.  
  299.